package com.sgcc.fj.pmos.e_fj_mall.activity;

import android.view.View;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.sgcc.fj.pmos.arouter.mall.MallArouterPath;
import com.sgcc.fj.pmos.common.base.BasePresenter;
import com.sgcc.fj.pmos.common.base.MvpBaseActivity;
import com.sgcc.ln.pmos.common.widget.TitleBar;
import com.sgcc.pmos.nativesdk.R;

/**
 * 不分时段约定电量----设置电量比例
 */
@Route(path = MallArouterPath.MALL_NODAYPARTINGCONTRACTELE)
public class NoDaypartingContractEleActivity extends MvpBaseActivity {

    private TitleBar mTitleBar;
    private EditText mEtInput;
    private RelativeLayout mRlBottomBtn;

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.activity_nodaypartingcontractele;
    }

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    @Override
    protected void initViews() {
        super.initViews();
        mTitleBar = (TitleBar) findViewById(R.id.title_bar);
        mEtInput = (EditText) findViewById(R.id.et_input);
        mRlBottomBtn = (RelativeLayout) findViewById(R.id.rl_bottom_btn);

        mTitleBar.setTitle("设置电量比例");
        mTitleBar.setRightIcon(R.mipmap.go_main, new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                goMainActivity();
            }
        });
    }
}
